#pragma once

#include "git-cert.h"
#include "git-cert-request.h"

struct git_credential;

namespace git
{

class CertProvider
{
public:
    CertProvider(const Cert &cert);

    git_credential *provide(const CertRequest &req) const;

private:
    const Cert cert_;
};

} // namespace git
